package com.aiyige.model.request;

import com.aiyige.base.api.ApiManager;

import okhttp3.ResponseBody;
import retrofit2.Call;

/**
 * Created by xiachao on 2018.
 */

public class RefundAgreeRequest {


    private RefundAgreeRequest(Builder builder) {
        setId(builder.id);
    }

    public static Builder newBuilder() {
        return new Builder();
    }



    String id;

    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id == null ? "" : id;
    }


    public static final class Builder {
        private String id;

        private Builder() {
        }



        public Call<ResponseBody> build() {
            return ApiManager.getService().agree(id);
        }

        public Builder id(String val) {
            id = val;
            return this;
        }
    }
}
